/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * PanelGestionUsuarios.java
 *
 * Created on 29/05/2011, 12:12:51 PM
 */
package gui;
import javax.swing.*;
import logica.*;
import controlador.*;
/**
 *
 * @author Gamboa Family
 */
public class PanelGestionUsuarios extends javax.swing.JPanel {
    String fechaNacimiento="",dia="",mes="",anio="",genero="",nivelEscolaridad="",
           vinculo_UV="",contrasenaVerificacion="",tipo_usuario="",
           preguntaSecreta = "", tipoUsuarioActual;
    boolean contrasenaCorrecta=false; 
    AddAreasMaterial dialogoAgregarAreas;
    ControladorUsuario control = new ControladorUsuario();
    String lista28Dias[], lista30Dias[], lista31Dias[]; 
   
   /** Creates new form PanelGestionUsuarios */
    public PanelGestionUsuarios() {
        initComponents();
        llenarListasDias();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel13 = new javax.swing.JLabel();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        jPanel1 = new javax.swing.JPanel();
        jPanel11 = new javax.swing.JPanel();
        jPanel12 = new javax.swing.JPanel();
        jLabel32 = new javax.swing.JLabel();
        jTFLogin1 = new javax.swing.JTextField();
        jLabel33 = new javax.swing.JLabel();
        jLabel34 = new javax.swing.JLabel();
        jLabel35 = new javax.swing.JLabel();
        jLabel36 = new javax.swing.JLabel();
        jTFRespuesta1 = new javax.swing.JTextField();
        jCBPregunta1 = new javax.swing.JComboBox();
        jLabel37 = new javax.swing.JLabel();
        jCBTipoUsuario1 = new javax.swing.JComboBox();
        jPFContrasena1 = new javax.swing.JPasswordField();
        jPFVContrasena1 = new javax.swing.JPasswordField();
        jTFCodigo1 = new javax.swing.JTextField();
        jLabel42 = new javax.swing.JLabel();
        jPanel13 = new javax.swing.JPanel();
        jLabel38 = new javax.swing.JLabel();
        jTFNombres1 = new javax.swing.JTextField();
        jLabel39 = new javax.swing.JLabel();
        jTFApellidos1 = new javax.swing.JTextField();
        jLabel40 = new javax.swing.JLabel();
        jLabel41 = new javax.swing.JLabel();
        jCBGenero1 = new javax.swing.JComboBox();
        jTFCorreo1 = new javax.swing.JTextField();
        jLabel44 = new javax.swing.JLabel();
        jLabel45 = new javax.swing.JLabel();
        jCBVinculo1 = new javax.swing.JComboBox();
        jLabel46 = new javax.swing.JLabel();
        jCBNivelEscolaridad1 = new javax.swing.JComboBox();
        jCBDia1 = new javax.swing.JComboBox();
        jCBMes1 = new javax.swing.JComboBox();
        jCBAnio1 = new javax.swing.JComboBox();
        jBAreasInteres = new javax.swing.JButton();
        jBRegistrarUsuario = new javax.swing.JButton();
        jPanel3 = new javax.swing.JPanel();
        jPanel15 = new javax.swing.JPanel();
        jPanel16 = new javax.swing.JPanel();
        jLabel47 = new javax.swing.JLabel();
        jTFCodigo2 = new javax.swing.JTextField();
        jBDesactivar = new javax.swing.JButton();
        jPanel17 = new javax.swing.JPanel();
        jLabel48 = new javax.swing.JLabel();
        jTFCodigo3 = new javax.swing.JTextField();
        jBActivar = new javax.swing.JButton();
        jPanel2 = new javax.swing.JPanel();
        jPanel18 = new javax.swing.JPanel();
        jLabel49 = new javax.swing.JLabel();
        jTFCodigo4 = new javax.swing.JTextField();
        jBCambiarPerfil = new javax.swing.JButton();
        jCBTipoUsuario2 = new javax.swing.JComboBox();
        jLabel43 = new javax.swing.JLabel();
        jBModificar = new javax.swing.JButton();

        setBackground(new java.awt.Color(255, 255, 255));

        jLabel13.setBackground(new java.awt.Color(255, 255, 255));
        jLabel13.setFont(new java.awt.Font("Verdana", 1, 22));
        jLabel13.setForeground(new java.awt.Color(235, 30, 30));
        jLabel13.setText("Gestión de Usuarios");

        jTabbedPane1.setBackground(new java.awt.Color(255, 255, 255));
        jTabbedPane1.setForeground(new java.awt.Color(130, 134, 135));

        jPanel1.setBackground(new java.awt.Color(255, 255, 255));

        jPanel11.setBackground(new java.awt.Color(255, 255, 255));

        jPanel12.setBackground(new java.awt.Color(255, 255, 255));
        jPanel12.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Infrormación de Seguridad", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Verdana", 1, 14), new java.awt.Color(235, 30, 30))); // NOI18N

        jLabel32.setBackground(new java.awt.Color(255, 255, 255));
        jLabel32.setFont(new java.awt.Font("Verdana", 1, 12));
        jLabel32.setForeground(new java.awt.Color(130, 134, 135));
        jLabel32.setText("Login");

        jTFLogin1.setFont(new java.awt.Font("Verdana", 0, 12));

        jLabel33.setBackground(new java.awt.Color(255, 255, 255));
        jLabel33.setFont(new java.awt.Font("Verdana", 1, 12));
        jLabel33.setForeground(new java.awt.Color(130, 134, 135));
        jLabel33.setText("Contraseña");

        jLabel34.setBackground(new java.awt.Color(255, 255, 255));
        jLabel34.setFont(new java.awt.Font("Verdana", 1, 12));
        jLabel34.setForeground(new java.awt.Color(130, 134, 135));
        jLabel34.setText("Verif. contraseña");

        jLabel35.setBackground(new java.awt.Color(255, 255, 255));
        jLabel35.setFont(new java.awt.Font("Verdana", 1, 12));
        jLabel35.setForeground(new java.awt.Color(130, 134, 135));
        jLabel35.setText("Pregunta secreta");

        jLabel36.setBackground(new java.awt.Color(255, 255, 255));
        jLabel36.setFont(new java.awt.Font("Verdana", 1, 12));
        jLabel36.setForeground(new java.awt.Color(130, 134, 135));
        jLabel36.setText("Respuesta secreta");

        jTFRespuesta1.setFont(new java.awt.Font("Verdana", 0, 12));

        jCBPregunta1.setFont(new java.awt.Font("Verdana", 0, 12));
        jCBPregunta1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Escoja:", "¿Como se llama su mascota?", "¿Cual es su escritor favorito?", "¿A que jardin infantil asistio usted?", "¿Cual es su lugar favorito?", "¿Donde nacio su madre?", "¿Cual es su color favorito?", "¿Como se llama su mascota?", "¿Cual es su escritor favorito?", "¿A que jardin infantil asistio usted?", "¿Cual es su lugar favorito?", "¿Donde nacio su madre?", "¿Cual es su color favorito?" }));
        jCBPregunta1.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        jCBPregunta1.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jCBPregunta1ItemStateChanged(evt);
            }
        });
        jCBPregunta1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCBPregunta1ActionPerformed(evt);
            }
        });

        jLabel37.setBackground(new java.awt.Color(255, 255, 255));
        jLabel37.setFont(new java.awt.Font("Verdana", 1, 12));
        jLabel37.setForeground(new java.awt.Color(130, 134, 135));
        jLabel37.setText("Tipo de Usuario");

        jCBTipoUsuario1.setFont(new java.awt.Font("Verdana", 0, 12));
        jCBTipoUsuario1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Escoja:", "Catalogador", "Normal" }));
        jCBTipoUsuario1.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        jCBTipoUsuario1.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jCBTipoUsuario1ItemStateChanged(evt);
            }
        });
        jCBTipoUsuario1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCBTipoUsuario1ActionPerformed(evt);
            }
        });

        jPFContrasena1.setFont(new java.awt.Font("Verdana", 0, 12));
        jPFContrasena1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jPFContrasena1ActionPerformed(evt);
            }
        });

        jPFVContrasena1.setFont(new java.awt.Font("Verdana", 0, 12));

        jTFCodigo1.setFont(new java.awt.Font("Verdana", 0, 12));

        jLabel42.setBackground(new java.awt.Color(255, 255, 255));
        jLabel42.setFont(new java.awt.Font("Verdana", 1, 12));
        jLabel42.setForeground(new java.awt.Color(130, 134, 135));
        jLabel42.setText("Codigo");

        javax.swing.GroupLayout jPanel12Layout = new javax.swing.GroupLayout(jPanel12);
        jPanel12.setLayout(jPanel12Layout);
        jPanel12Layout.setHorizontalGroup(
            jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel12Layout.createSequentialGroup()
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanel12Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel42)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jTFCodigo1, javax.swing.GroupLayout.PREFERRED_SIZE, 296, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel12Layout.createSequentialGroup()
                        .addGap(34, 34, 34)
                        .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(jPanel12Layout.createSequentialGroup()
                                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jLabel33)
                                    .addComponent(jLabel32))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jPFContrasena1, javax.swing.GroupLayout.PREFERRED_SIZE, 296, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jTFLogin1, javax.swing.GroupLayout.PREFERRED_SIZE, 296, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(jPanel12Layout.createSequentialGroup()
                                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jLabel35)
                                    .addComponent(jLabel34)
                                    .addComponent(jLabel36)
                                    .addComponent(jLabel37))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jPFVContrasena1, javax.swing.GroupLayout.DEFAULT_SIZE, 296, Short.MAX_VALUE)
                                    .addComponent(jCBTipoUsuario1, javax.swing.GroupLayout.PREFERRED_SIZE, 175, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jCBPregunta1, 0, 296, Short.MAX_VALUE)
                                    .addComponent(jTFRespuesta1, javax.swing.GroupLayout.PREFERRED_SIZE, 294, javax.swing.GroupLayout.PREFERRED_SIZE))))))
                .addGap(28, 28, 28))
        );
        jPanel12Layout.setVerticalGroup(
            jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel12Layout.createSequentialGroup()
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTFCodigo1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel42))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTFLogin1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel32))
                .addGap(8, 8, 8)
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel33)
                    .addComponent(jPFContrasena1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel34)
                    .addComponent(jPFVContrasena1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jCBPregunta1, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel35))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel36)
                    .addComponent(jTFRespuesta1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel37)
                    .addComponent(jCBTipoUsuario1, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)))
        );

        jPanel13.setBackground(new java.awt.Color(255, 255, 255));
        jPanel13.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "Información Personal", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Verdana", 1, 14), new java.awt.Color(235, 30, 30))); // NOI18N

        jLabel38.setBackground(new java.awt.Color(255, 255, 255));
        jLabel38.setFont(new java.awt.Font("Verdana", 1, 12));
        jLabel38.setForeground(new java.awt.Color(130, 134, 135));
        jLabel38.setText("Nombres");

        jTFNombres1.setFont(new java.awt.Font("Verdana", 0, 12));

        jLabel39.setBackground(new java.awt.Color(255, 255, 255));
        jLabel39.setFont(new java.awt.Font("Verdana", 1, 12));
        jLabel39.setForeground(new java.awt.Color(130, 134, 135));
        jLabel39.setText("Apellidos");

        jTFApellidos1.setFont(new java.awt.Font("Verdana", 0, 12));

        jLabel40.setBackground(new java.awt.Color(255, 255, 255));
        jLabel40.setFont(new java.awt.Font("Verdana", 1, 12));
        jLabel40.setForeground(new java.awt.Color(130, 134, 135));
        jLabel40.setText("Género");

        jLabel41.setBackground(new java.awt.Color(255, 255, 255));
        jLabel41.setFont(new java.awt.Font("Verdana", 1, 12));
        jLabel41.setForeground(new java.awt.Color(130, 134, 135));
        jLabel41.setText("Fecha de Nacimiento");

        jCBGenero1.setFont(new java.awt.Font("Verdana", 0, 12));
        jCBGenero1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Escoja:", "F", "M" }));
        jCBGenero1.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        jCBGenero1.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jCBGenero1ItemStateChanged(evt);
            }
        });
        jCBGenero1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCBGenero1ActionPerformed(evt);
            }
        });

        jTFCorreo1.setFont(new java.awt.Font("Verdana", 0, 12));

        jLabel44.setBackground(new java.awt.Color(255, 255, 255));
        jLabel44.setFont(new java.awt.Font("Verdana", 1, 12));
        jLabel44.setForeground(new java.awt.Color(130, 134, 135));
        jLabel44.setText("Correo Electrónico");

        jLabel45.setBackground(new java.awt.Color(255, 255, 255));
        jLabel45.setFont(new java.awt.Font("Verdana", 1, 12));
        jLabel45.setForeground(new java.awt.Color(130, 134, 135));
        jLabel45.setText("Nivel de escolaridad");

        jCBVinculo1.setFont(new java.awt.Font("Verdana", 0, 12));
        jCBVinculo1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Escoja:", "Estud. pregrado", "Estud. postgrado", "Egresado", "Profesor activo", "Jubilado", "Ninguno" }));
        jCBVinculo1.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        jCBVinculo1.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jCBVinculo1ItemStateChanged(evt);
            }
        });
        jCBVinculo1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCBVinculo1ActionPerformed(evt);
            }
        });

        jLabel46.setBackground(new java.awt.Color(255, 255, 255));
        jLabel46.setFont(new java.awt.Font("Verdana", 1, 12));
        jLabel46.setForeground(new java.awt.Color(130, 134, 135));
        jLabel46.setText("Vínculo con UniValle");

        jCBNivelEscolaridad1.setFont(new java.awt.Font("Verdana", 0, 12));
        jCBNivelEscolaridad1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Escoja:", "Basica primaria", "Basica secundaria", "Bachiller academico", "Nivel Tecnico", "Nivel Tecnologo", "Estudiante universitario", "Profesional" }));
        jCBNivelEscolaridad1.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        jCBNivelEscolaridad1.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jCBNivelEscolaridad1ItemStateChanged(evt);
            }
        });
        jCBNivelEscolaridad1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCBNivelEscolaridad1ActionPerformed(evt);
            }
        });

        jCBDia1.setFont(new java.awt.Font("Verdana", 0, 12));
        jCBDia1.setEnabled(false);
        jCBDia1.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jCBDia1ItemStateChanged(evt);
            }
        });
        jCBDia1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCBDia1ActionPerformed(evt);
            }
        });

        jCBMes1.setFont(new java.awt.Font("Verdana", 0, 12));
        jCBMes1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Mes:", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12" }));
        jCBMes1.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jCBMes1ItemStateChanged(evt);
            }
        });

        jCBAnio1.setFont(new java.awt.Font("Verdana", 0, 12));
        jCBAnio1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Año:", "1950", "1951", "1952", "1953", "1954", "1955", "1956", "1957", "1958", "1959", "1960", "1961", "1962", "1963", "1964", "1965", "1966", "1967", "1968", "1969", "1970", "1971", "1972", "1973", "1974", "1975", "1976", "1977", "1978", "1979", "1980", "1981", "1982", "1983", "1984", "1985", "1986", "1987", "1988", "1989", "1990", "1991", "1992", "1993", "1994", "1995", "1996", "1997", "1998", "1999", "2000" }));
        jCBAnio1.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jCBAnio1ItemStateChanged(evt);
            }
        });
        jCBAnio1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCBAnio1ActionPerformed(evt);
            }
        });

        jBAreasInteres.setBackground(new java.awt.Color(255, 255, 255));
        jBAreasInteres.setFont(new java.awt.Font("Verdana", 1, 12));
        jBAreasInteres.setForeground(new java.awt.Color(235, 30, 30));
        jBAreasInteres.setText("Agregar Areas de Interes");
        jBAreasInteres.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBAreasInteresActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel13Layout = new javax.swing.GroupLayout(jPanel13);
        jPanel13.setLayout(jPanel13Layout);
        jPanel13Layout.setHorizontalGroup(
            jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel13Layout.createSequentialGroup()
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel13Layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel40)
                            .addComponent(jLabel41)
                            .addComponent(jLabel39)
                            .addComponent(jLabel38))
                        .addGap(18, 18, 18)
                        .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jTFNombres1, javax.swing.GroupLayout.DEFAULT_SIZE, 324, Short.MAX_VALUE)
                            .addComponent(jTFApellidos1, javax.swing.GroupLayout.DEFAULT_SIZE, 324, Short.MAX_VALUE)
                            .addGroup(jPanel13Layout.createSequentialGroup()
                                .addComponent(jCBAnio1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jCBMes1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jCBDia1, javax.swing.GroupLayout.PREFERRED_SIZE, 62, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(jCBGenero1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanel13Layout.createSequentialGroup()
                        .addGap(25, 25, 25)
                        .addComponent(jLabel44)
                        .addGap(18, 18, 18)
                        .addComponent(jTFCorreo1, javax.swing.GroupLayout.DEFAULT_SIZE, 324, Short.MAX_VALUE))
                    .addGroup(jPanel13Layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel46)
                            .addComponent(jLabel45))
                        .addGap(18, 18, 18)
                        .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jCBVinculo1, javax.swing.GroupLayout.PREFERRED_SIZE, 179, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jCBNivelEscolaridad1, javax.swing.GroupLayout.PREFERRED_SIZE, 244, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanel13Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jBAreasInteres)))
                .addContainerGap())
        );
        jPanel13Layout.setVerticalGroup(
            jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel13Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel38)
                    .addComponent(jTFNombres1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(8, 8, 8)
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel39)
                    .addComponent(jTFApellidos1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel40)
                    .addComponent(jCBGenero1, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel41)
                    .addComponent(jCBMes1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jCBAnio1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jCBDia1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTFCorreo1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel44))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel45)
                    .addComponent(jCBNivelEscolaridad1, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel46)
                    .addComponent(jCBVinculo1, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jBAreasInteres)
                .addGap(22, 22, 22))
        );

        javax.swing.GroupLayout jPanel11Layout = new javax.swing.GroupLayout(jPanel11);
        jPanel11.setLayout(jPanel11Layout);
        jPanel11Layout.setHorizontalGroup(
            jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel11Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanel12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanel13, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        jPanel11Layout.setVerticalGroup(
            jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel11Layout.createSequentialGroup()
                .addComponent(jPanel12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel13, javax.swing.GroupLayout.PREFERRED_SIZE, 260, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(43, Short.MAX_VALUE))
        );

        jBRegistrarUsuario.setBackground(new java.awt.Color(255, 255, 255));
        jBRegistrarUsuario.setFont(new java.awt.Font("Verdana", 1, 14));
        jBRegistrarUsuario.setForeground(new java.awt.Color(235, 30, 30));
        jBRegistrarUsuario.setText("Registrar");
        jBRegistrarUsuario.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBRegistrarUsuarioActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(206, 206, 206)
                .addComponent(jBRegistrarUsuario)
                .addContainerGap(256, Short.MAX_VALUE))
            .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel1Layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jPanel11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(24, Short.MAX_VALUE)))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addContainerGap(498, Short.MAX_VALUE)
                .addComponent(jBRegistrarUsuario)
                .addGap(27, 27, 27))
            .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel1Layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jPanel11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
        );

        jTabbedPane1.addTab("Registrar", jPanel1);

        jPanel3.setBackground(new java.awt.Color(255, 255, 255));

        jPanel15.setBackground(new java.awt.Color(255, 255, 255));

        jPanel16.setBackground(new java.awt.Color(255, 255, 255));
        jPanel16.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(235, 30, 30)));

        jLabel47.setBackground(new java.awt.Color(255, 255, 255));
        jLabel47.setFont(new java.awt.Font("Verdana", 1, 15));
        jLabel47.setForeground(new java.awt.Color(130, 134, 135));
        jLabel47.setText("Código de Usuario a Eliminar");

        jTFCodigo2.setFont(new java.awt.Font("Verdana", 0, 12));

        jBDesactivar.setBackground(new java.awt.Color(255, 255, 255));
        jBDesactivar.setFont(new java.awt.Font("Verdana", 1, 16));
        jBDesactivar.setForeground(new java.awt.Color(235, 30, 30));
        jBDesactivar.setText("Desactivar");
        jBDesactivar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBDesactivarActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel16Layout = new javax.swing.GroupLayout(jPanel16);
        jPanel16.setLayout(jPanel16Layout);
        jPanel16Layout.setHorizontalGroup(
            jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel16Layout.createSequentialGroup()
                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel16Layout.createSequentialGroup()
                        .addGap(54, 54, 54)
                        .addComponent(jLabel47))
                    .addGroup(jPanel16Layout.createSequentialGroup()
                        .addGap(93, 93, 93)
                        .addComponent(jBDesactivar))
                    .addGroup(jPanel16Layout.createSequentialGroup()
                        .addGap(21, 21, 21)
                        .addComponent(jTFCodigo2, javax.swing.GroupLayout.PREFERRED_SIZE, 296, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(21, Short.MAX_VALUE))
        );
        jPanel16Layout.setVerticalGroup(
            jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel16Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel47)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTFCodigo2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(11, 11, 11)
                .addComponent(jBDesactivar)
                .addContainerGap(25, Short.MAX_VALUE))
        );

        jPanel17.setBackground(new java.awt.Color(255, 255, 255));
        jPanel17.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(235, 30, 30)));

        jLabel48.setBackground(new java.awt.Color(255, 255, 255));
        jLabel48.setFont(new java.awt.Font("Verdana", 1, 15));
        jLabel48.setForeground(new java.awt.Color(130, 134, 135));
        jLabel48.setText("Código de Usuario para Activar");

        jTFCodigo3.setFont(new java.awt.Font("Verdana", 0, 12));

        jBActivar.setBackground(new java.awt.Color(255, 255, 255));
        jBActivar.setFont(new java.awt.Font("Verdana", 1, 16));
        jBActivar.setForeground(new java.awt.Color(235, 30, 30));
        jBActivar.setText("Activar");
        jBActivar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBActivarActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel17Layout = new javax.swing.GroupLayout(jPanel17);
        jPanel17.setLayout(jPanel17Layout);
        jPanel17Layout.setHorizontalGroup(
            jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel17Layout.createSequentialGroup()
                .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel17Layout.createSequentialGroup()
                        .addGap(17, 17, 17)
                        .addGroup(jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel48)
                            .addComponent(jTFCodigo3, javax.swing.GroupLayout.PREFERRED_SIZE, 295, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanel17Layout.createSequentialGroup()
                        .addGap(112, 112, 112)
                        .addComponent(jBActivar)))
                .addContainerGap(26, Short.MAX_VALUE))
        );
        jPanel17Layout.setVerticalGroup(
            jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel17Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel48)
                .addGap(18, 18, 18)
                .addComponent(jTFCodigo3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jBActivar)
                .addContainerGap(22, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanel15Layout = new javax.swing.GroupLayout(jPanel15);
        jPanel15.setLayout(jPanel15Layout);
        jPanel15Layout.setHorizontalGroup(
            jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel15Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(jPanel16, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel17, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel15Layout.setVerticalGroup(
            jPanel15Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel15Layout.createSequentialGroup()
                .addGap(22, 22, 22)
                .addComponent(jPanel16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(54, 54, 54)
                .addComponent(jPanel17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(34, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup()
                .addContainerGap(104, Short.MAX_VALUE)
                .addComponent(jPanel15, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(101, 101, 101))
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addGap(58, 58, 58)
                .addComponent(jPanel15, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(123, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Activar - Desactivar", jPanel3);

        jPanel2.setBackground(new java.awt.Color(255, 255, 255));

        jPanel18.setBackground(new java.awt.Color(255, 255, 255));
        jPanel18.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(235, 30, 30)));

        jLabel49.setBackground(new java.awt.Color(255, 255, 255));
        jLabel49.setFont(new java.awt.Font("Verdana", 1, 12));
        jLabel49.setForeground(new java.awt.Color(130, 134, 135));
        jLabel49.setText("Código de Usuario");

        jTFCodigo4.setFont(new java.awt.Font("Verdana", 0, 12));

        jBCambiarPerfil.setBackground(new java.awt.Color(255, 255, 255));
        jBCambiarPerfil.setFont(new java.awt.Font("Verdana", 1, 14));
        jBCambiarPerfil.setForeground(new java.awt.Color(235, 30, 30));
        jBCambiarPerfil.setText("Cambiar Perfil");
        jBCambiarPerfil.setEnabled(false);
        jBCambiarPerfil.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBCambiarPerfilActionPerformed(evt);
            }
        });

        jCBTipoUsuario2.setFont(new java.awt.Font("Verdana", 0, 12));
        jCBTipoUsuario2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Escoja:", "Catalogador", "Normal" }));
        jCBTipoUsuario2.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        jCBTipoUsuario2.setEnabled(false);
        jCBTipoUsuario2.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jCBTipoUsuario2ItemStateChanged(evt);
            }
        });
        jCBTipoUsuario2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCBTipoUsuario2ActionPerformed(evt);
            }
        });

        jLabel43.setBackground(new java.awt.Color(255, 255, 255));
        jLabel43.setFont(new java.awt.Font("Verdana", 1, 12));
        jLabel43.setForeground(new java.awt.Color(130, 134, 135));
        jLabel43.setText("Tipo de Usuario");

        jBModificar.setBackground(new java.awt.Color(255, 255, 255));
        jBModificar.setFont(new java.awt.Font("Verdana", 1, 14));
        jBModificar.setForeground(new java.awt.Color(235, 30, 30));
        jBModificar.setText("Modificar");
        jBModificar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBModificarActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel18Layout = new javax.swing.GroupLayout(jPanel18);
        jPanel18.setLayout(jPanel18Layout);
        jPanel18Layout.setHorizontalGroup(
            jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel18Layout.createSequentialGroup()
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addGroup(jPanel18Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel49)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTFCodigo4, javax.swing.GroupLayout.PREFERRED_SIZE, 176, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel18Layout.createSequentialGroup()
                        .addGap(21, 21, 21)
                        .addComponent(jLabel43)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jCBTipoUsuario2, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jBModificar)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel18Layout.createSequentialGroup()
                .addContainerGap(151, Short.MAX_VALUE)
                .addComponent(jBCambiarPerfil)
                .addGap(137, 137, 137))
        );
        jPanel18Layout.setVerticalGroup(
            jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel18Layout.createSequentialGroup()
                .addGap(45, 45, 45)
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTFCodigo4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel49)
                    .addComponent(jBModificar))
                .addGap(18, 18, 18)
                .addGroup(jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jCBTipoUsuario2, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel43))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 26, Short.MAX_VALUE)
                .addComponent(jBCambiarPerfil)
                .addContainerGap())
        );

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGap(55, 55, 55)
                .addComponent(jPanel18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(79, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGap(74, 74, 74)
                .addComponent(jPanel18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(301, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Cambiar Perfiles", jPanel2);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 570, Short.MAX_VALUE)
            .addGroup(layout.createSequentialGroup()
                .addGap(149, 149, 149)
                .addComponent(jLabel13)
                .addContainerGap(171, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jLabel13)
                .addGap(2, 2, 2)
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 580, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents

    private void jBActivarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBActivarActionPerformed
        Usuario u = new Usuario();
        int respuesta = -1;
        boolean completo = true;
                
        String mensaje = "Hay errores en la activacion del Usuario:     " + "\n\n"; 
        if(jTFCodigo2.getText().equals("")){
            completo = false;
            mensaje += "-> El campo Codigo del Usuario está vacío." + "\n";
        }
        if(completo && !control.existeCodigo(jTFCodigo2.getText())){
            completo = false;
            mensaje += "-> El Codigo del Usuario ingresado no existe." + "\n";
        }
        if(completo && control.esActivado(jTFCodigo2.getText())){
            completo = false;
            mensaje += "-> El Usuario con el codigo ingresado está activado." + "\n";
        }
        if(completo){
            u = control.retornarUsuarioPorCodigo(jTFCodigo2.getText());
            respuesta = JOptionPane.showConfirmDialog(this, "¿Esta seguro "
                    + "que desea activar el Usuario " + u.mostrarmeEnPantalla() + "?");
            
            if(respuesta == JOptionPane.YES_OPTION){
                control.activarUsuario(jTFCodigo2.getText());
                JOptionPane.showMessageDialog(this, "El Usuario ha sido desactivado");
                jTFCodigo2.setText("");
            }
            
        } else{
            JOptionPane.showMessageDialog(this, mensaje, "Error de activación",
                    JOptionPane.ERROR_MESSAGE);
        }
}//GEN-LAST:event_jBActivarActionPerformed

    private void jBDesactivarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBDesactivarActionPerformed
        Usuario u = new Usuario();
        int respuesta = -1;
        boolean completo = true;
                
        String mensaje = "Hay errores en la desactivacion del Usuario:     " + "\n\n"; 
        if(jTFCodigo2.getText().equals("")){
            completo = false;
            mensaje += "-> El campo Codigo del Usuario está vacío." + "\n";
        }
        if(completo && !control.existeCodigo(jTFCodigo2.getText())){
            completo = false;
            mensaje += "-> El Codigo del Usuario ingresado no existe." + "\n";
        }
        if(completo && !control.esActivado(jTFCodigo2.getText())){
            completo = false;
            mensaje += "-> El Usuario con el codigo ingresado ya ha sido desactivado." + "\n";
        }
        if(completo){
            u = control.retornarUsuarioPorCodigo(jTFCodigo2.getText());
            respuesta = JOptionPane.showConfirmDialog(this, "¿Esta seguro "
                    + "que desea desactivar el Usuario " + u.mostrarmeEnPantalla() + "?");
            
            if(respuesta == JOptionPane.YES_OPTION){
                control.desactivarUsuario(jTFCodigo2.getText());
                JOptionPane.showMessageDialog(this, "El Usuario ha sido desactivado");
                jTFCodigo2.setText("");
            }
            
        } else{
            JOptionPane.showMessageDialog(this, mensaje, "Error de registro",
                    JOptionPane.ERROR_MESSAGE);
        }     
}//GEN-LAST:event_jBDesactivarActionPerformed

    private void jBRegistrarUsuarioActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBRegistrarUsuarioActionPerformed
        ControladorUsuario control=new ControladorUsuario();
        
        boolean completo = true;
        String mensaje = "Hay errores en el registro del Usuario:     " + "\n\n";
        if(jTFCodigo1.getText().equals("")){
            completo = false;
            mensaje += "-> El campo Codigo está vacío." + "\n";
        }
        if(completo && control.existeCodigo(jTFCodigo1.getText())){
            completo = false;
            mensaje += "-> El Codigo ingresado ya existe." + "\n";
        }
        if(jTFLogin1.getText().equals("")){
            completo = false;
            mensaje += "-> El campo Login está vacío." + "\n";
        }
        if(completo && control.existeLogin(jTFLogin1.getText())){
            completo = false;
            mensaje += "-> El Lodigo ingresado ya existe." + "\n";
        }
        if(jTFNombres1.getText().equals("")){
            completo = false;
            mensaje += "-> El campo Nombres está vacío." + "\n";
        }
        if(jTFApellidos1.getText().equals("")){
            completo = false;
            mensaje += "-> El campo Apellidos está vacío." + "\n";
        }
        if(jTFCorreo1.getText().equals("")){
            completo = false;
            mensaje += "-> El campo Correo Electrónico está vacío." + "\n";
        }
        if(preguntaSecreta.equals("")|| genero.equals("Escoja:")){
            completo = false;
            mensaje += "-> No ha escogido una Pregunta Secreta." + "\n";
        }
        if(jTFRespuesta1.getText().equals("")){
            completo = false;
            mensaje += "-> El campo Respuesta Secreta está vacío." + "\n";
        }
        if(jPFContrasena1.getText().equals("")){
            completo = false;
            mensaje += "-> El campo Contraseña está vacío." + "\n";
        }
        if(jPFVContrasena1.getText().equals("")){
            completo = false;
            mensaje += "-> El campo Verificación de Contraseña está vacío." + "\n";
        }
        if(!jPFContrasena1.getText().equals(jPFVContrasena1.getText())){
            completo = false;
            mensaje += "-> La Contraseña ingresada no es igual a la Verificación." + "\n";
        }
        if(dia.equals("Dia:") || dia.equals("")){
            completo = false;
            mensaje += "-> Debe elegir un Dia para la Fecha de Nacimiento." + "\n";
        }
        if(mes.equals("Mes:") || mes.equals("")){
            completo = false;
            mensaje += "-> Debe elegir un Mes para la Fecha de Nacimiento." + "\n";
        }
        if(anio.equals("Mes:") || anio.equals("")){
            completo = false;
            mensaje += "-> Debe elegir un Anio para la Fecha de Nacimiento." + "\n";
        }
        if(vinculo_UV.equals("") || vinculo_UV.equals("Escoja:")){
            completo = false;
            mensaje += "-> Debe elegir el Vinculo Univalle." + "\n";
        }
        if(tipo_usuario.equals("") || tipo_usuario.equals("0")){
            completo = false;
            mensaje += "-> Debe elegir el Tipo de Usuario." + "\n";
        }
        if(genero.equals("") || genero.equals("Escoja:")){
            completo = false;
            mensaje += "-> Debe elegir el Genero." + "\n";
        }
        if(nivelEscolaridad.equals("") || nivelEscolaridad.equals("Escoja:")){
            completo = false;
            mensaje += "-> Debe elegir el Genero." + "\n";
        }
        
        if(completo){
            control.registrarUsario(
                    jTFCodigo1.getText(),
                    jTFNombres1.getText(),
                    jTFApellidos1.getText(),
                    genero,
                    anio+"-"+mes+"-"+dia,
                    jTFCorreo1.getText(),
                    nivelEscolaridad,
                    vinculo_UV,
                    preguntaSecreta,
                    jTFRespuesta1.getText(),
                    jTFLogin1.getText(),
                    jPFContrasena1.getText(),
                    tipo_usuario,
                    "0"
                    );
            
            if(dialogoAgregarAreas != null
                    && !dialogoAgregarAreas.getListaCodigos().isEmpty()){
                
                for(int i=0; i<dialogoAgregarAreas.getListaCodigos().size(); i++){
                    control.agregarArea(jTFCodigo1.getText(),
                            (String)dialogoAgregarAreas.getListaCodigos().elementAt(i));
                }
            }
            
            Usuario info = control.retornarUsuarioPorCodigo(jTFCodigo1.getText());
            
            JOptionPane.showMessageDialog(this, "El Uaurio fue reagistrado con "
                    + "éxito y con la siguiente informacion:"+
                    "\n\nCodigo: "+ info.getCodigo() +
                    "\nNombres: "+ info.getNombre()+
                    "\nApellidos: "+ info.getApellido()+
                    "\nGenero: "+ info.getgenero()+
                    "\nFecha de Nacimiento: "+ info.getFechaDeNacimiento()+
                    "\ncorreo Electrónico: "+ info.getCorreoElectronico()+
                    "\nNivel de Escolaridad: "+ info.getNivelEscolaridad()+
                    "\nLogin: "+ info.getLogin());
            
            jTFCodigo1.setText("");
            jTFNombres1.setText("");
            jTFApellidos1.setText("");
            jCBGenero1.setSelectedIndex(0);
            jCBDia1.setSelectedIndex(0);
            jCBMes1.setSelectedIndex(0);
            jCBAnio1.setSelectedIndex(0);
            jCBNivelEscolaridad1.setSelectedIndex(0);
            jCBVinculo1.setSelectedIndex(0);
            jCBTipoUsuario1.setSelectedIndex(0);
            jTFCorreo1.setText("");
            jCBPregunta1.setSelectedIndex(0);
            jTFRespuesta1.setText("");
            jTFLogin1.setText("");
            jPFContrasena1.setText("");
        } else{
            JOptionPane.showMessageDialog(this, mensaje, "Error de registro",
                    JOptionPane.ERROR_MESSAGE);
        }
    }//GEN-LAST:event_jBRegistrarUsuarioActionPerformed

    private void jBAreasInteresActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBAreasInteresActionPerformed
        // TODO add your handling code here:
        // TODO add your handling code here:
        if(dialogoAgregarAreas == null){
            dialogoAgregarAreas = new AddAreasMaterial(null, true);
            dialogoAgregarAreas.setCaso(1);
            dialogoAgregarAreas.setVisible(true);
        } else
            dialogoAgregarAreas.setVisible(true);
}//GEN-LAST:event_jBAreasInteresActionPerformed

    private void jCBAnio1ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jCBAnio1ItemStateChanged
        // TODO add your handling code here:
        anio = String.valueOf(jCBDia1.getSelectedItem());
}//GEN-LAST:event_jCBAnio1ItemStateChanged

    private void jCBMes1ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jCBMes1ItemStateChanged
        // TODO add your handling code here:
        mes = String.valueOf(jCBMes1.getSelectedItem());
        System.out.println(mes);
        if(jCBMes1.getSelectedIndex() != 0){
            String lista[] = escogerListaDias(mes);
            jCBDia1.removeAllItems();
            for(int i=0; i<lista.length; i++)
                jCBDia1.addItem(lista[i]);
            jCBDia1.setEnabled(true);
        }
}//GEN-LAST:event_jCBMes1ItemStateChanged

    private void jCBDia1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCBDia1ActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jCBDia1ActionPerformed

    private void jCBDia1ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jCBDia1ItemStateChanged
        // TODO add your handling code here:
        dia = String.valueOf(jCBDia1.getSelectedItem());
}//GEN-LAST:event_jCBDia1ItemStateChanged

    private void jCBNivelEscolaridad1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCBNivelEscolaridad1ActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jCBNivelEscolaridad1ActionPerformed

    private void jCBNivelEscolaridad1ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jCBNivelEscolaridad1ItemStateChanged
        // TODO add your handling code here:
        nivelEscolaridad = String.valueOf(jCBNivelEscolaridad1.getSelectedItem());
}//GEN-LAST:event_jCBNivelEscolaridad1ItemStateChanged

    private void jCBVinculo1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCBVinculo1ActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jCBVinculo1ActionPerformed

    private void jCBVinculo1ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jCBVinculo1ItemStateChanged
        // TODO add your handling code here:
        vinculo_UV = String.valueOf(jCBVinculo1.getSelectedItem());
}//GEN-LAST:event_jCBVinculo1ItemStateChanged

    private void jCBGenero1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCBGenero1ActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jCBGenero1ActionPerformed

    private void jCBGenero1ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jCBGenero1ItemStateChanged
        // TODO add your handling code here:
        genero = String.valueOf(jCBGenero1.getSelectedItem());
}//GEN-LAST:event_jCBGenero1ItemStateChanged

    private void jPFContrasena1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jPFContrasena1ActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jPFContrasena1ActionPerformed

    private void jCBTipoUsuario1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCBTipoUsuario1ActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jCBTipoUsuario1ActionPerformed

    private void jCBTipoUsuario1ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jCBTipoUsuario1ItemStateChanged
        // TODO add your handling code here:
        tipo_usuario = String.valueOf(jCBTipoUsuario1.getSelectedIndex());
}//GEN-LAST:event_jCBTipoUsuario1ItemStateChanged

    private void jCBPregunta1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCBPregunta1ActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jCBPregunta1ActionPerformed

    private void jCBPregunta1ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jCBPregunta1ItemStateChanged
        // TODO add your handling code here:
        preguntaSecreta = String.valueOf(jCBPregunta1.getSelectedItem());
}//GEN-LAST:event_jCBPregunta1ItemStateChanged

    private void jCBAnio1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCBAnio1ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jCBAnio1ActionPerformed

    private void jBCambiarPerfilActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBCambiarPerfilActionPerformed
        // TODO add your handling code here:
        boolean completo = true;                
        String mensaje = "Hay errores en la modificacion del Perfil del Usuario:" + "\n\n";        
        if(tipo_usuario.equals("") || tipo_usuario.equals("0")){
            completo = false;
            mensaje += "-> Debe escoger un Perfil para el Usuario." + "\n";
        }        
        if(completo){
            String  codigo = jTFCodigo4.getText();
            String salida = "";
            
            if(!tipo_usuario.equals(tipoUsuarioActual)){                
                control.modificarUsuario(11, codigo, tipo_usuario);
                salida+="Tipo de Usuario:    " + tipoUsuarioActual + "    ---->    " + tipo_usuario + "\n";
            }            
            if(!salida.equals("")) 
            JOptionPane.showMessageDialog(this, "Al Usuario con codigo : " + codigo  
                    +" se le realizara la siguiente modificacion:"  
                    + "\n\n"+ salida);
                        
            jTFCodigo4.setText("");
            jTFCodigo4.setEditable(true);
            jCBTipoUsuario2.setEditable(false);
            jCBTipoUsuario2.setSelectedIndex(0);
            jBCambiarPerfil.setEnabled(false);
            jBModificar.setEnabled(true);
            
            tipoUsuarioActual = "";
            
        } else{
            JOptionPane.showMessageDialog(this, mensaje, "Error de registro",
                    JOptionPane.ERROR_MESSAGE);
        } 
    }//GEN-LAST:event_jBCambiarPerfilActionPerformed

    private void jCBTipoUsuario2ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jCBTipoUsuario2ItemStateChanged
        // TODO add your handling code here:
        tipo_usuario = String.valueOf(jCBTipoUsuario2.getSelectedIndex());
    }//GEN-LAST:event_jCBTipoUsuario2ItemStateChanged

    private void jCBTipoUsuario2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCBTipoUsuario2ActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jCBTipoUsuario2ActionPerformed

    private void jBModificarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBModificarActionPerformed
        // TODO add your handling code here:        
        boolean completo = true;
        int respuesta=-1;
        Usuario u= new Usuario();
        
        String mensaje = "Se presentaron los siguientes errores:     " + "\n\n";
        if(jTFCodigo4.getText().equals("")){
            completo = false;
            mensaje += "-> El campo Codigo del Usaurio está vacío." + "\n";
        }
        if(completo && !control.existeCodigo(jTFCodigo4.getText())){
            completo = false;
            mensaje += "-> El Codigo del Usuario ingresado no existe." + "\n";
        }
        if(completo){
        u = control.retornarUsuarioPorCodigo(jTFCodigo4.getText());
            respuesta = JOptionPane.showConfirmDialog(this, "¿Esta seguro "
                    + "que desea modificar el Usuario " + u.mostrarmeEnPantalla()+ "?");
        }
        if(!completo){
            JOptionPane.showMessageDialog(this, mensaje, "Error en modificacion",
                    JOptionPane.ERROR_MESSAGE);
        }        
        if(completo && respuesta == JOptionPane.YES_OPTION){
            jTFCodigo4.setEditable(false);
            jCBTipoUsuario2.setEnabled(true);
            tipoUsuarioActual=u.getTipoUsuario();
            jCBTipoUsuario2.setSelectedIndex(Integer.parseInt(tipoUsuarioActual));
            jBCambiarPerfil.setEnabled(true);
            jBModificar.setEnabled(false);
        }
        
        if(respuesta == JOptionPane.NO_OPTION){
            jTFCodigo4.setEditable(true);
            jTFCodigo4.setText("");
            jCBTipoUsuario2.setEnabled(false);
            jCBTipoUsuario2.setSelectedIndex(0);
            jBCambiarPerfil.setEnabled(false);
            jBModificar.setEnabled(true);
        }
    }//GEN-LAST:event_jBModificarActionPerformed

    public void llenarListasDias(){
        //Modelos con los listados de día para los combos de fechas (Dias)
        lista28Dias = new String[29];
        lista28Dias[0]= "Dia:";
        for(int i=1; i<=9; i++)
            lista28Dias[i] = "0"+String.valueOf(i); 
        for(int i=10; i<=28; i++)
            lista28Dias[i] = String.valueOf(i);        
        
        lista30Dias = new String[31];
        lista30Dias[0]= "Dia:";
        for(int i=1; i<=9; i++)
            lista30Dias[i] = "0"+String.valueOf(i); 
        for(int i=10; i<=30; i++)
            lista30Dias[i] = String.valueOf(i); 
        
        lista31Dias = new String[32];
        lista31Dias[0]= "Dia:";
        for(int i=1; i<=9; i++)
            lista31Dias[i] = "0"+String.valueOf(i);
        for(int i=10; i<=31; i++)
            lista31Dias[i] = String.valueOf(i);
    }
    
    public String[] escogerListaDias(String mes){        
        if(mes.equals("02")){
            return lista28Dias;
        }
        if(mes.equals("01") || mes.equals("03") || mes.equals("05") 
                || mes.equals("07") || mes.equals("08") || mes.equals("10") 
                || mes.equals("12")){
            return lista31Dias;
        }
        else
            return lista30Dias;
    }
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jBActivar;
    private javax.swing.JButton jBAreasInteres;
    private javax.swing.JButton jBCambiarPerfil;
    private javax.swing.JButton jBDesactivar;
    private javax.swing.JButton jBModificar;
    private javax.swing.JButton jBRegistrarUsuario;
    private javax.swing.JComboBox jCBAnio1;
    private javax.swing.JComboBox jCBDia1;
    private javax.swing.JComboBox jCBGenero1;
    private javax.swing.JComboBox jCBMes1;
    private javax.swing.JComboBox jCBNivelEscolaridad1;
    private javax.swing.JComboBox jCBPregunta1;
    private javax.swing.JComboBox jCBTipoUsuario1;
    private javax.swing.JComboBox jCBTipoUsuario2;
    private javax.swing.JComboBox jCBVinculo1;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel32;
    private javax.swing.JLabel jLabel33;
    private javax.swing.JLabel jLabel34;
    private javax.swing.JLabel jLabel35;
    private javax.swing.JLabel jLabel36;
    private javax.swing.JLabel jLabel37;
    private javax.swing.JLabel jLabel38;
    private javax.swing.JLabel jLabel39;
    private javax.swing.JLabel jLabel40;
    private javax.swing.JLabel jLabel41;
    private javax.swing.JLabel jLabel42;
    private javax.swing.JLabel jLabel43;
    private javax.swing.JLabel jLabel44;
    private javax.swing.JLabel jLabel45;
    private javax.swing.JLabel jLabel46;
    private javax.swing.JLabel jLabel47;
    private javax.swing.JLabel jLabel48;
    private javax.swing.JLabel jLabel49;
    private javax.swing.JPasswordField jPFContrasena1;
    private javax.swing.JPasswordField jPFVContrasena1;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel11;
    private javax.swing.JPanel jPanel12;
    private javax.swing.JPanel jPanel13;
    private javax.swing.JPanel jPanel15;
    private javax.swing.JPanel jPanel16;
    private javax.swing.JPanel jPanel17;
    private javax.swing.JPanel jPanel18;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JTextField jTFApellidos1;
    private javax.swing.JTextField jTFCodigo1;
    private javax.swing.JTextField jTFCodigo2;
    private javax.swing.JTextField jTFCodigo3;
    private javax.swing.JTextField jTFCodigo4;
    private javax.swing.JTextField jTFCorreo1;
    private javax.swing.JTextField jTFLogin1;
    private javax.swing.JTextField jTFNombres1;
    private javax.swing.JTextField jTFRespuesta1;
    private javax.swing.JTabbedPane jTabbedPane1;
    // End of variables declaration//GEN-END:variables
}
